<?php /* Smarty version 2.6.18, created on 2007-07-10 13:39:53
         compiled from Player/players_main_cont.tpl */ ?>
<?php if ($this->_tpl_vars['tourney'] == 0): ?>
<p>No se ha creado un torneo a&uacute;n, por lo tanto no se pueden ver jugadores</p>
<?php else: ?>
<form id="search">
    <span valign="middle">
        <img src="images/search.png" title="Buscar" alt="Buscar" />
    </span>
    <input id="name" name="name" type="text" />
    <select id="s_type" name="s_type" title="Buscar por">
        <option value="first_name">Nombre(s)</option>
        <option value="last_name">Apellido(s)</option>
        <option value="both">Nombre(s) y Apellido(s)</option>
        <option value="delegation">Delegaci&oacute;n</option>
    </select>
    <input class="button" type="button" value="Buscar" onclick="send('search','list','Player/WP_Player.php?action=4');" />
    <span id="indicator1" style="display:none;">
        <img src="images/spinner.gif" alt="Buscando..." align="top" />
    </span>
    <div id="choices" class="autocomplete"></div>
    <?php echo '
    <script type="text/javascript" language="JavaScript">
        autocompleter(\'name\', \'choices\', \'Player/WP_Player.php?action=3\', true, Array(\'s_type\'));
    </script>
    '; ?>

</form>
<div id="list">
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "Player/players_list.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
</div>
<br />
<div id="info" style="display:none;">
</div>
<?php endif; ?>